home *** CD-ROM | disk | FTP | other *** search
- from PSPApp import *
-
- def ScriptProperties():
- return {
- 'Author': u'Corel Corporation',
- 'Copyright': u'Copyright (c) 2003-2004 Corel Corporation All rights reserved.',
- 'Description': u'',
- 'Host': u'Paint Shop Pro',
- 'Host Version': u'8.10'
- }
-
- def Preset_RedEyeRemoval():
- return {
- 'DefaultSettings': {
- 'Blur': 2,
- 'CenterGlint': App.Constants.Boolean.true,
- 'Color': 3,
- 'Feather': 3,
- 'GlintLightness': 60,
- 'GlintSize': 20,
- 'Hue': App.Constants.EyeColor.Gray,
- 'IrisSize': 3,
- 'Method': App.Constants.RedEyeMethod.AutoHumanEye,
- 'PupilLightness': 20,
- 'Refine': 100,
- 'UpdateRegion': App.Constants.Boolean.true,
- 'Width': 0,
- 'Height': 0,
- 'Angle': 0
- }
- }
-
- def Do(Environment):
- # Red-eye Removal
- App.Do( Environment, 'RedEyeRemoval', Preset_RedEyeRemoval())
-
-